package ink.yuanchu.picachoframework.service.biz;

import com.baomidou.mybatisplus.extension.service.IService;
import ink.yuanchu.picachoframework.entity.Permissions;
import ink.yuanchu.picachoframework.entity.RoleAssociatedPermissions;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author ziyuan
 * @Date: 2021/03/20/13:11
 * @Description:
 */
public interface RoleAssociatedPermissionsBiz extends IService<RoleAssociatedPermissions> {

    /**
     * 根据角色id查找所有权限
     * @param roleId
     * @return
     */
    List<Permissions> findAllPermissionsByRoleId(String roleId);
}
